package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the CC_BERTH database table.
 * 
 */
@Entity
@Table(name="CC_BERTH")
@NamedQuery(name="CcBerth.findAll", query="SELECT c FROM CcBerth c")
public class CcBerth implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_BERTH_BERTHNO_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_BERTH_BERTHNO_GENERATOR")
	private long berthno;

	private String berthstate;

	private String bname;

	@Column(name="BP_ID")
	private BigDecimal bpId;

	private BigDecimal bwardno;

	public CcBerth() {
	}

	public long getBerthno() {
		return this.berthno;
	}

	public void setBerthno(long berthno) {
		this.berthno = berthno;
	}

	public String getBerthstate() {
		return this.berthstate;
	}

	public void setBerthstate(String berthstate) {
		this.berthstate = berthstate;
	}

	public String getBname() {
		return this.bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public BigDecimal getBpId() {
		return this.bpId;
	}

	public void setBpId(BigDecimal bpId) {
		this.bpId = bpId;
	}

	public BigDecimal getBwardno() {
		return this.bwardno;
	}

	public void setBwardno(BigDecimal bwardno) {
		this.bwardno = bwardno;
	}

}